import { postService } from '.'
import { PORT1 } from '../config/net.config'
import { System } from './interface/system'

// 获取字典数据
export const getDicData = (typeName: string) => {
  return postService<System.ResDictList[]>(`${PORT1}/Tools/GetDictList`, { name: typeName }, 'json')
}
